﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace SAR
{
    public partial class CanShuFenXi2
    {
        public CanShuFenXi2()
        {
            this.InitializeComponent();
        }

        private void starCalcuBtn_SARBigBtnClick(object sender, MouseButtonEventArgs e)
        {
            this.inputGridArea.Visibility = Visibility.Collapsed;
            this.OutPutHead.IsEnabled = true;
            this.OutPutHead.SARIsUnfolded = true;
            this.OutPutArea.Visibility = Visibility.Visible;
        }

        private void OutPutHead_SARClick(object sender, MouseButtonEventArgs e)
        {
            if (this.OutPutHead.SARIsUnfolded == false)
            {
                this.inputGridArea.Visibility = Visibility.Collapsed;
                this.OutPutArea.Visibility = Visibility.Visible;
                this.OutPutHead.SARIsUnfolded = true;
            }else
            {
                this.OutPutArea.Visibility = Visibility.Collapsed;
                this.inputGridArea.Visibility = Visibility.Visible;
                this.OutPutHead.SARIsUnfolded = false;
            }
        }
    }
}